package view.WelcomePanels;

import controller.AccountController;
import dto.WelcomeDTO;
import view.WelcomeFrame;
import view.WelcomePanels.SubPanels.BackButtonPanel;
import view.WelcomePanels.SubPanels.MainButtonPanels.RegisterButtonPanel;
import view.WelcomePanels.SubPanels.FormPanels.RegisterFormPanel;

/**
 *
 * @author Joachim
 */
public class RegisterPanel extends AbstractWelcomePanel {
    
    public RegisterPanel(WelcomeDTO dto, AccountController controller, WelcomeFrame frame) {
        super(dto, controller, frame);
    }

    @Override
    protected void initComponents() {
        super.pnlWest = new BackButtonPanel(frame);
        super.pnlCenter = new RegisterFormPanel(dto, controller);
        super.pnlSouth = new RegisterButtonPanel(dto, controller);
    }
    
}
